﻿// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "LineTrace.generated.h"

UCLASS()
class XCZ3_API ALineTrace : public AActor
{
	GENERATED_BODY()

public:
	ALineTrace();
	virtual void BeginPlay() override;
	virtual void Tick(float DeltaTime) override;


	UFUNCTION(BlueprintCallable, DisplayName="射线检测")
	void LineTrace(const FVector& Start, const FVector& End, bool IgnoreSelf);

	UFUNCTION(BlueprintCallable, DisplayName="盒体检测")
	void BoxTrace();
};
